#include <iostream>
using namespace std;

double division(int a, int b){
    if(b==0){
        throw "Zero Division Error!";
    }
    return a/b;
}

int main(){
    int x=10,y=0;
    double z;
    try{
        z=division(x,y);
        cout<<z<<endl;
    }catch(const char* msg){
        cerr<<msg<<endl;
    }
    return 0;
}
